﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MedicalReport.aspx.cs" Inherits="Physio_Clinic.MedicalReport" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% if (currentUser != null && currentUser.Username == "admin")
       {   
      %>

    <a href="MedicalReportEdit.aspx">MedicalReportEdit.aspx</a>
    <asp:Table ID="MyTable" runat="server" border="1" CellPadding="5" CellSpacing="0"
        Height="132px" Width="494px">
        <asp:TableRow ID="TableRow1" runat="server" BackColor="Blue">
            <asp:TableCell ID="TableCell1" runat="server" colspan="2">
                <asp:Label ID="Label4" Text="รายละเอียดการรักษา" runat="Server" ForeColor="White" />
            </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow2" runat="server">
            <asp:TableCell ID="TableCell2" runat="server">
                <asp:Label ID="Label5" runat="server" Text="ชื่อผู้ใช้"></asp:Label>
            </asp:TableCell><asp:TableCell ID="TableCell4" runat="server">
                <asp:TextBox ID="Username" runat="server" Enabled="false"></asp:TextBox>
            </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow3" runat="server">
            <asp:TableCell ID="TableCell3" runat="server">
                <asp:Label ID="Label1" runat="server" Text="เวลาเริ่มนัดหมาย"></asp:Label>
            </asp:TableCell><asp:TableCell ID="TableCell5" runat="server">
                <asp:TextBox ID="AppointmentTime" runat="server" Enabled="false"></asp:TextBox>
            </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow8" runat="server">
            <asp:TableCell ID="TableCell14" runat="server">
                <asp:Label ID="Label8" runat="server" Text="เวลาสิ้นสุดนัดหมาย"></asp:Label>
            </asp:TableCell
            ><asp:TableCell ID="TableCell15" runat="server">
                <asp:TextBox ID="EndappointmentTime" runat="server" Enabled="false"></asp:TextBox>
            </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow6" runat="server">
            <asp:TableCell ID="TableCell10" runat="server">
                <asp:Label ID="Label3" runat="server" Text="ชื่อผู้ใช้"></asp:Label>
            </asp:TableCell><asp:TableCell ID="TableCell11" runat="server">
                <asp:TextBox ID="UserId" runat="server" Enabled="false"></asp:TextBox>
            </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow7" runat="server">
            <asp:TableCell ID="TableCell12" runat="server">
                <asp:Label ID="Label6" runat="server" Text="รหัสการจอง*"></asp:Label>
            </asp:TableCell><asp:TableCell ID="TableCell13" runat="server">
                <asp:TextBox ID="BookId" runat="server" Enabled="false"></asp:TextBox>
            </asp:TableCell></asp:TableRow></asp:Table>
            
    <% }
       else
       { %><asp:Label ID="ErrorText" runat="server" 
    Text="สิทธิหน้านี้สำหรับ ผู้ดูเเลระบบเท่านั้น " ForeColor="Red" 
        style="text-align: center"></asp:Label><asp:HyperLink ID="HyperLink1" 
    runat="server" NavigateUrl="http://physio10.com/" > click</asp:HyperLink><% } %>
            
            </asp:Content>